using System;
using Admin.NET.Core;
using SqlSugar;

namespace Admin.NET.Application.Entity.Business;

[SugarTable("VolumeRecharge", "充值缴费")]
[SysTable]
public class VolumeRecharge : EntityTenant
{
	/// <summary>
	/// 缴费人id
	/// </summary>
	public long RechargeUser { get; set; }

	/// <summary>
	/// 缴费人名称
	/// </summary>
	public string RechargeUserName { get; set; }

	/// <summary>
	/// 缴费凭证
	/// </summary>
	public string RechargeVoucherUrl { get; set; }

	/// <summary>
	/// 缴费日期
	/// </summary>
	public DateTime RechargeTime { get; set; }

	/// <summary>
	/// 审核日期
	/// </summary>
	public DateTime? ExamineTime { get; set; }

	/// <summary>
	/// 审核人id
	/// </summary>
	public long? ExamineUser { get; set; }

	/// <summary>
	/// 审核人
	/// </summary>
	public string? ExamineUserName { get; set; }

	/// <summary>
	/// 续约日期
	/// </summary>
	public DateTime RenewalContractTime { get; set; }

	/// <summary>
	/// 缴费金额
	/// </summary>
	public double PaymentAmount { get; set; }

	/// <summary>
	/// 当前续约截止日期
	/// </summary>
	public DateTime EndRenewalContractTime { get; set; }

	/// <summary>
	/// 0待审核 1是审核失败 2审核成功
	/// </summary>
	public int AuditStatus { get; set; }

	/// <summary>
	/// 驳回理由
	/// </summary>
	public string? RejectReason { get; set; }

	/// <summary>
	/// 备注
	/// </summary>
	[SugarColumn(ColumnDataType = "text")]
	public string? Remark { get; set; }
}
